package com.chen.pojo.entry;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author chen
 * @version 1.0
 * @create_date 2025/8/17
 * 合作商表实体类
 */
@Data
@TableName("tb_partner")
@Schema(description = "合作商表实体类")
public class Partner {

    @Schema(description = "合作商ID")
    @TableId
    private Integer id;

    @Schema(description = "合作商名称")
    private String name;

    @Schema(description = "账号")
    private String account;

    @Schema(description = "密码")
    private String password;

    @Schema(description = "联系人")
    private String contact;

    @Schema(description = "手机号")
    private String mobile;

    @Schema(description = "电话")
    private String phone;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "城市")
    private String city;

    @Schema(description = "国家")
    private String country;

    @Schema(description = "省份")
    private String province;

    @Schema(description = "地址")
    private String addr;

    @Schema(description = "分成比例")
    private Integer ratio;

    @Schema(description = "状态")
    private Boolean status;

    @Schema(description = "设备数量")
    private Integer vmCount;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
}